
*---------------------------------------*			
* 			APPENDIX I					*
*	MODELS WITHOUT MAILBACK SURVEYS		*			
*---------------------------------------*

		
clear all	
cd "${data}"	
use "data1.dta", clear 


gen observationlimit_CSES = . // in order to limit the bivariate model to the identical sample with the full model.
replace observationlimit_CSES = 1 if daysafter!=. & IMD5012_!=. & election_!=. & country_!=. & respondent!=. 


	* bivariate model 1
eststo m01A_CSES_nomail: mixed IMD3007_ IMD5012_ if observationlimit_CSES==1 & mailback!=1 || country_: || election_: || respondent:

eststo m1_CSES_nomail: mixed IMD3007_ daysafter IMD5012_ if mailback!=1  || country_: || election_: || respondent:

eststo m2_CSES_nomail: mixed c.IMD3007_ c.daysafter##c.IMD5012_ if mailback!=1  || country_: || election_:  || respondent: IMD5012_ 

cd "${tables}"	
	
 esttab m01A_CSES_nomail m1_CSES_nomail m2_CSES_nomail using CSES_nomailback.tex , b(3) se(3) nogap transform(ln*: exp(2*@) 2*exp(2*@))

 